package com.stu.boke.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.stu.boke.entity.Link;

@Mapper
public interface LinkMapper {

	Link getLinkById(Integer id);
	
	void deleteById(Integer id);
	
	void insert(Link link);
	
	void update(Link link);
	
	Integer countLink(@Param(value = "status")Integer status);
	
	List<Link> listLink(@Param(value = "status")Integer status);
}
